home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
009
/
unprotec.arc
/
LD13.ARC
/
LDS.ASM
next >
Wrap
Assembly Source File
|
1985-09-08
|
2KB
|
130 lines
;
;Symphony 1.0, 1.1 and LOTUS 123 unprotect with out mods to pgm
;
;modified for SYMPHONY 1.1 by P.B. 08/30/85
;
CSEG SEGMENT
ASSUME DS:CSEG, SS:CSEG ,CS:CSEG ,ES:CSEG
ORG 0100H
FIRST: JMP INIT
BCKADR DB 4 DUP(0)
SERIAL DB 'LD 1.2 by P.B.'
UNPROT PROC FAR
STI
CMP CL,19H
JNZ UNPR1
PUSH DS
PUSH SI
PUSH DI
PUSH CX
PUSH CS
POP DS
MOV SI,OFFSET SERIAL
MOV DI,BX
MOV CX,0FH
CLD
REPZ MOVSB
POP CX
POP DI
POP SI
POP DS
JMP SHORT NOSER
UNPR1: CMP CL,20H
JZ UNPR2
CMP CL,30H
JZ UNPR2
CMP CL,40H
JZ UNPR2
CMP CL,63H ;symphony 1.1
JNZ UNPR3
MOV AH,4
JMP SHORT UNPR7
UNPR2: MOV AH,10H
JMP SHORT UNPR7
UNPR3: PUSH BP
MOV BP,SP
CMP WORD PTR [BP+2],OFFSET 0A8ABH
JZ UNPR4
CMP WORD PTR [BP+2],OFFSET 0A88BH
JZ UNPR4
CMP WORD PTR [BP+2],OFFSET 66F4H
JZ UNPR5
CMP WORD PTR [BP+2],OFFSET 0C3H ;symphony 1.1
JZ UNPR5
POP BP
JMP SHORT BACK
UNPR4: CMP CL,8
JNZ UNPR6
UNPR5: XOR AH,AH
POP BP
NOSER: CLC
RET 2
UNPR6: MOV AH,2
POP BP
UNPR7: STC
RET 2
BACK: JMP DWORD PTR CS:BCKADR
UNPROT ENDP
INIT PROC NEAR
CLI
PUSH CS
POP ES
PUSH DS
MOV SI,4CH
XOR AX,AX
MOV DS,AX
MOV DI,OFFSET BCKADR
CMP WORD PTR [SI],OFFSET UNPROT
JNZ DOIT
POP DS
MOV DX,OFFSET MSG2
MOV AH,9
INT 21H
RET
DOIT: MOV CX,4
CLD
REPZ MOVSB
POP DS
MOV DI,60H
MOV SI,OFFSET FIRST
MOV CX,OFFSET INIT-OFFSET FIRST+1
REPZ MOVSB
PUSH DS
MOV DX,OFFSET UNPROT
MOV AX,DS
SUB AX,0AH
MOV DS,AX
MOV AX,2513H
INT 21H
POP DS
MOV DX,OFFSET MSG1
MOV AH,9
INT 21H
MOV DX,OFFSET SERIAL
STI
INT 27H
MSG1 DB 'LD 1.2 unprotect SYMPHONY 1.0, 1.1 and LOTUS 123 loaded.$'
MSG2 DB 'LD 1.2 already loaded in memory.$'
INIT ENDP
CSEG ENDS
;
END FIRST